package com.cmc.cloud.cmclink.doc.vo.tblisustampemail;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.hibernate.validator.constraints.Length;

/**
 * 不同代理的申请记录确认人和确认人邮箱配置 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TblisustampEmailBaseVO {

    @Schema(description = "分类")
    @Length(max = 20, message = "{TblisustampEmailBaseVO.category.Length}")
    private String category;

    @Schema(description = "代理代码")
    @Length(max = 20, message = "{TblisustampEmailBaseVO.agentCode.Length}")
    private String agentCode;

    @Schema(description = "代理名称", example = "芋艿")
    @Length(max = 20, message = "{TblisustampEmailBaseVO.agentName.Length}")
    private String agentName;

    @Schema(description = "港口代码")
    @Length(max = 50, message = "{TblisustampEmailBaseVO.polCode.Length}")
    private String polCode;

    @Schema(description = "审批人")
    @Length(max = 20, message = "{TblisustampEmailBaseVO.approver.Length}")
    private String approver;

    @Schema(description = "审批人邮箱")
    @Length(max = 300, message = "{TblisustampEmailBaseVO.approverEmail.Length}")
    private String approverEmail;

}
